package top.lwaiting.java.ai.langchain4j.assistant;

import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

/**
 * 助手
 * @Description TODO
 * @ClassName Assistant
 * @Author Yang
 * @Date 2025/9/8 23:33
 * @Version 1.0
 */
@AiService(wiringMode = AiServiceWiringMode.EXPLICIT, chatModel = "qwenChatModel")
public interface Assistant {

    /**
     * 接收用户输入，返回大模型输出的结果
     * @param userMessage {@link String}
     * @return {@link String}
     */
    String chat(String userMessage);
}
